// 模拟数据库数据
const mockData = {
    // 概览数据
    overview: {
        todayWorkload: 1250,
        onlineDevices: 28,
        efficiency: 95,
        safetyIndex: 98
    },

    // 24小时作业量趋势数据
    workloadTrend: {
        hours: ['00:00', '03:00', '06:00', '09:00', '12:00', '15:00', '18:00', '21:00'],
        data: [120, 85, 150, 280, 320, 250, 180, 140]
    },

    // 设备状态分布数据
    deviceStatus: [
        { value: 20, name: '运行中' },
        { value: 5, name: '待机中' },
        { value: 2, name: '维护中' },
        { value: 1, name: '故障' }
    ],

    // 实时作业数据
    realtimeTasks: [{
            id: 'TASK001',
            deviceType: '岸桥',
            status: '运行中',
            startTime: '2024-03-20 08:30',
            estimatedEndTime: '2024-03-20 10:30'
        },
        {
            id: 'TASK002',
            deviceType: '龙门吊',
            status: '运行中',
            startTime: '2024-03-20 09:00',
            estimatedEndTime: '2024-03-20 11:00'
        },
        {
            id: 'TASK003',
            deviceType: 'AGV',
            status: '待机中',
            startTime: '2024-03-20 09:30',
            estimatedEndTime: '2024-03-20 11:30'
        },
        {
            id: 'TASK004',
            deviceType: '岸桥',
            status: '维护中',
            startTime: '2024-03-20 10:00',
            estimatedEndTime: '2024-03-20 12:00'
        }
    ]
};